package com.winter.main.service.system;

import com.winter.main.model.entity.SysRole;
import com.winter.main.model.entity.SysUser;

import java.util.List;

/**
 * Desc:
 * Author: dushuang
 * Date: Create in 2018/4/18
 */
public interface SysRoleService {

    /**
     * 通过user查角色
     * @param user
     * @return
     * @throws Exception
     */
    List<SysRole> selectRoleByUser(SysUser user) throws Exception;

}
